package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

//视频表
public class Video {
    @TableId(value = "vid",type = IdType.AUTO)
    private Integer vid;//编号

    private Integer scid;//课程子表(章节表)id

    private String vname;//视频名

    private String vtime;//时长

    private String vpath;//路径

    private Integer exit1;//备用字段1

    private String exit2;//备用字段2

    public String getVtime() {
        return vtime;
    }

    public void setVtime(String vtime) {
        this.vtime = vtime;
    }

    public Video(Integer vid, Integer scid, String vname, String vpath, Integer exit1, String exit2) {
        this.vid = vid;
        this.scid = scid;
        this.vname = vname;
        this.vpath = vpath;
        this.exit1 = exit1;
        this.exit2 = exit2;
    }

    public Video() {
        super();
    }

    @Override
    public String toString() {
        return "Video{" +
                "vid=" + vid +
                ", scid=" + scid +
                ", vname='" + vname + '\'' +
                ", vpath='" + vpath + '\'' +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public Integer getScid() {
        return scid;
    }

    public void setScid(Integer scid) {
        this.scid = scid;
    }

    public String getVname() {
        return vname;
    }

    public void setVname(String vname) {
        this.vname = vname;
    }

    public String getVpath() {
        return vpath;
    }

    public void setVpath(String vpath) {
        this.vpath = vpath;
    }

    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }
}
